import {defineStore} from 'pinia'
import {ref} from 'vue'

export const employeesStore = defineStore(
    'employee',
    () => {

        const employees = ref([])

        const setEmployees = (c) => {
            employees.value = c
        }

        return {
            employees,
            setEmployees
        }
    },
    {
        persist: true
    }
)